// import article from './article'
// import token from './token'
// import type from './type'
import download from './download'
import error from './error' //引入处理url错误的路由中间件
export default app => {

    //app.use('/article', article) //处理和文章有关的url

    //app.use('/token', token) //处理和七牛上传有关的url

    //app.use('/type', type) //处理和文章类型有关的url

    app.use('/download', download) //处理和文章类型有关的url

    app.use('*', error) //处理url不匹配的中间件

}